﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:skin="clr-namespace:UBCon.Resources.SkinManagers">

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=RibbonWindowBorderBrush}" Color="#2B579A"/>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=WhiteBrush}" Color="White"/>
    
    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=BlackBrush}" Color="Black"/>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=TransparentBrush}" Color="Transparent"/>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DefaultImageBrush}" Color="#777777"/>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DecoratorBrush}" Color="#2B579A"/>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=CaptionButtonPressedStateBrush}" Color="#19478A"/>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=GrayBrush}" Color="Gray"/>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=RibbonBarBorderBrush}" Color="#D5D5D5"/>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=LightGrayBrush}" Color="LightGray" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=LightLightGrayBrush}" Color="#E1E1E1" />

    <Color x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DropDownBorderColor}">#C6C6C6</Color>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DropDownBorderBrush}" Color="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DropDownBorderColor}}" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=GalleryHeaderBrush}" Color="#EEEEEE" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=GalleryBorderBrush}" Color="#ABAFB2" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=SelectedGalleryItemBrush}" Color="#C2D5F2" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=SelectedMenuBackgroundBrush}" Color="#FF3E6DB5" />

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=MouseOverMenuBackgroundBrush}" Color="#FF19478A" />

    <DropShadowEffect BlurRadius="9" 
                      ShadowDepth="0" 
                      Color="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DropDownBorderColor}}" 
                      Opacity="0.5"
                      x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DropDownShadowEffect}"/>


    <LinearGradientBrush x:Shared="True"  x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=BackgroundBrush1}" EndPoint="0,1" StartPoint="0,0">
        <GradientStop Color="#FFF7F7F7" Offset="0.129"/>
        <GradientStop Color="#FFE9E9EB" Offset="0.707"/>
        <GradientStop Color="#FFE9E9EB" Offset="0.414"/>
    </LinearGradientBrush>
   
    <LinearGradientBrush x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=BackgroundBrush}" EndPoint="1,1" StartPoint="0,0">
        <GradientStop Color="#FFE9EBED" Offset="1"/>
        <GradientStop Color="#FFE7E9EB" Offset="0.47"/>
        <GradientStop Color="#FFE8EAED"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=TransparentBackground}" EndPoint="1,1" StartPoint="0,0">
        <GradientStop Color="Transparent" Offset="1"/>
        <GradientStop Color="Transparent" Offset="1"/>
    </LinearGradientBrush>

    <LinearGradientBrush x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=SelectedTabItemBrush}" EndPoint="0,1" StartPoint="0,0">
        <GradientStop Color="White" Offset="0"/>
        <GradientStop Color="#FFF0F1F4" Offset="1"/>
        <GradientStop Color="#FFFDFCFC" Offset="0.491"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=SelectedBorderBrush}" EndPoint="0,1" StartPoint="0,0">
        <GradientStop Color="#FFB6BABF" Offset="1"/>
        <GradientStop Color="#FFB6BABF"/>
        <GradientStop Color="#FFB6BABF" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=MSWord2010AppMenuBackgroundBrush}" EndPoint="0,1" StartPoint="0,0">
        <GradientStop Color="#FF215AAE" Offset="0.431"/>
        <GradientStop Color="#FF215AB0" Offset="0.216"/>
        <GradientStop Color="#FF427ADB" Offset="0.845"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=WindowContentBrush}" MappingMode="RelativeToBoundingBox" EndPoint="0,1" StartPoint="0,0">
        <GradientStop Color="#FFC8CCD1" Offset="1"/>
        <GradientStop Color="#FFCDD1D6"/>
        <GradientStop Color="#FFC2C6CB" Offset="0.491"/>
    </LinearGradientBrush>

    <LinearGradientBrush x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=OutlookWindowContentBrush}" MappingMode="RelativeToBoundingBox" EndPoint="0,1" StartPoint="0,0">
        <GradientStop Color="#FFDCE0E5" Offset="1"/>
        <GradientStop Color="#FFDEE2E7"/>
        <GradientStop Color="#FFDDE1E6" Offset="0.491"/>
    </LinearGradientBrush>

    <SolidColorBrush x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DropShadowBrush}" Color="#FFA9B0B8"/>
    <!--<LinearGradientBrush  EndPoint="0,1" StartPoint="0,0">
        <GradientStop Color="#FFBBBFC3" Offset="0"/>
        <GradientStop Color="#FFA9B0B8" Offset="1"/>
        <GradientStop Color="#FFA9B0B8" Offset="0.514"/>
    </LinearGradientBrush>-->
    <DropShadowEffect x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=RibbonBarDropShadow}" Direction="283" ShadowDepth="1" BlurRadius="9" Color="#FFB1B4B9"/>
    <SolidColorBrush x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=MouseOverBackgroundBrush}" Color="#D5E1F2"/>
    <SolidColorBrush x:Shared="True"  x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=PressedBorderBrush}"  Color="#FFC29B29" />
    <SolidColorBrush x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=MouseOverBorderBrush}" Color="#D5E1F2"/>
    <!--<LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly=mas:SkinManager, ResourceId=MouseOverBorderBrush}" StartPoint="0,0" EndPoint="0,1" >
        <GradientStop Offset="0" Color="#FFE3C085" />
        <GradientStop Offset="0.19" Color="#FFF4CC89" />
        <GradientStop Offset="0.36" Color="#FFF5C777" />
        <GradientStop Offset="0.36" Color="#FFF5BB56" />
        <GradientStop Offset="0.79" Color="#FFF4CE9A" />
        <GradientStop Offset="1" Color="#FFF3E28D" />
    </LinearGradientBrush>-->
    <SolidColorBrush Color="#A3BDE3" 
                     x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=PressedBackgroundBrush}"/>
    <LinearGradientBrush x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DefaultTransitionBrush}" EndPoint="0,1" StartPoint="0,0">
        <GradientStop Color="#FFF8FAFB" Offset="0.238"/>
        <GradientStop Color="#FFE1E4E8" Offset="1"/>
        <GradientStop Color="#FFEDEFF2" Offset="0.511"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Shared="True" x:Key="&#256;" StartPoint="0,0" EndPoint="0,1" >
        <GradientStop Offset="0" Color="#FFE7CBAD" />
        <GradientStop Offset="0.1" Color="#FFF7D7B5" />
        <GradientStop Offset="0.36" Color="#FFFFD38C" />
        <GradientStop Offset="0.36" Color="#FFFFC75A" />
        <GradientStop Offset="1" Color="#FFFFEFA5" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Shared="True" x:Key="&#269;" StartPoint="0,0" EndPoint="0,1" >
        <GradientStop Offset="0" Color="#40FFFEFE" />
        <GradientStop Offset="0.39" Color="#40FFFEFE" />
        <GradientStop Offset="0.39" Color="#20FFCE68" />
        <GradientStop Offset="0.69" Color="#20FFCE68" />
        <GradientStop Offset="1" Color="#10FFFFFF" />
    </LinearGradientBrush>
    <LinearGradientBrush x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=CloseButtonBackground}" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFFE8382" Offset="0"/>
        <GradientStop Color="#FFE36162" Offset="1"/>
        <GradientStop Color="#FFF67979" Offset="0.491"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=TitleForeground}" 
                     Color="#FF3B3B3B"/>

    <LinearGradientBrush x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=SplitterBorderBrush}" EndPoint="0,1" StartPoint="0,0">
        <GradientStop Color="#FFF0F1F4" Offset="0.2"/>
        <GradientStop Color="#FFB6BABF" Offset="1"/>
        <GradientStop Color="#FFB6BABF" Offset="1"/>
    </LinearGradientBrush>
    <RadialGradientBrush x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=MinimizedGroupMouseOverBrush}" 
                         RadiusY="0.6" RadiusX="0.6" GradientOrigin="0.5,1" Center="0.5,0.7">
        <GradientStop Color="#FFF8FAFB" Offset="0.238"/>
        <GradientStop Color="#FFEDEFF2" Offset="1"/>
        <GradientStop Color="White" Offset="0.0"/>
    </RadialGradientBrush>
    <LinearGradientBrush x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=SlowAnimationBackground}" StartPoint="0.0,0.5" EndPoint="1.0,0.5">
        <GradientStop Color="#01FFFFFF" Offset="0.0"></GradientStop>
        <GradientStop Color="#80FFFFFF" Offset="0.5"></GradientStop>
        <GradientStop Color="#01FFFFFF" Offset="1.0"></GradientStop>
    </LinearGradientBrush>
    <SolidColorBrush x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DefaultForegroundBrush}" Color="#FF767380" />

    <SolidColorBrush x:Shared="True" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DisabledBorderBrush}" Color="#AAA" />


   
    <!--==========================Images==========================-->

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=ArrowBrush}" Color="#FF4D5874" />

    <SolidColorBrush Color="#50000000" x:Key="LauncherImageBrush" />

    <SolidColorBrush Color="#FFA2A9B2" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=HVLinesBrush}"/>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=LeftArrowImage_DefaultState}"
                  RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M15,4 L3,4 L7,0 L5,0 L0,5 L5,10 L7,10 L3,6 L15,6z" 
                                 Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=WhiteBrush}}">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=WhiteBrush}}" 
                             Thickness="0.6" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=LeftArrowImage_MouseOverState}"
                  RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M15,4 L3,4 L7,0 L5,0 L0,5 L5,10 L7,10 L3,6 L15,6z" 
                                 Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=SelectedMenuBackgroundBrush}}">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=SelectedMenuBackgroundBrush}}" 
                             Thickness="0.6" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=LauncherButtonImage}"
                  RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Geometry="M1,6 L1,1 L6,1">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=LightGrayBrush}}" Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M 7,4 L 7,7 L 4,7">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=LightGrayBrush}}" Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>

                <GeometryDrawing Geometry="M0,5 L0,0 L5,0 M 3,3 L5,5">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey=LauncherImageBrush}" 
                             Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M 6,3 L 6,6 L 3,6 Z"
                                 Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=GrayBrush}}">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey=LauncherImageBrush}"
                             Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=ExpandImage}" 
                  RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M0,4 L 6,4 L 3,8 L 0,4"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly=skin:OfficeBlueSkinManager, ResourceId=DefaultForegroundBrush}}">
                <GeometryDrawing.Pen>
                    <Pen Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DisabledExpandImage}" RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M0,4 L 6,4 L 3,8 L 0,4"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=LightGrayBrush}}">
                <GeometryDrawing.Pen>
                    <Pen Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>


    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=gvozdik}"
            RenderOptions.BitmapScalingMode="HighQuality" >
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M16,7 L16,2 L14,2 L14,3 L11,3 L6,0 L6,3.4 L-1,3.4 L-1,6 L6,6 L6,10 L11,7 L14,7 L14,8 L16,8z" Brush="White">
                <GeometryDrawing.Pen>
                    <Pen Brush="#FF535353" Thickness="1"  />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=ExpandedButtonImage}"
         RenderOptions.BitmapScalingMode="HighQuality"   >
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M0,16 L0,9 11,0 22,9 22,16 15,16 11,10 7,16 0,16"
                                 Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=WhiteBrush}}">
                <GeometryDrawing.Pen>
                    <Pen Brush="#FF535353" Thickness="2" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DisabledExpandedButtonImage}"
         RenderOptions.BitmapScalingMode="HighQuality"   >
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M0,16 L0,9 11,0 22,9 22,16 15,16 11,10 7,16 0,16"
                                 Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=WhiteBrush}}">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=GrayBrush}}" Thickness="2" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=CollapsedButtonImage}"
         RenderOptions.BitmapScalingMode="HighQuality"   >
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M0,0 L0,7 11,16 22,7 22,0 15,0 11,6 7,0 0,0"
                                 Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=WhiteBrush}}">
                <GeometryDrawing.Pen>
                    <Pen Brush="#FF535353" Thickness="2" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DisabledCollapsedButtonImage}"
         RenderOptions.BitmapScalingMode="HighQuality"   >
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M0,0 L0,7 11,16 22,7 22,0 15,0 11,6 7,0 0,0"
                                 Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=WhiteBrush}}">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=GrayBrush}}" Thickness="2" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=LeftArrow}" 
                  RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M2,4 L 2,0 L0,2 Z"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=BlackBrush}}">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=BlackBrush}}"
                                Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=RightArrow}"
            RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M0,4 L 0,0 L2,2 Z"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=BlackBrush}}">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=BlackBrush}}"
                                Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=LineDownArrow}" RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M 0 0 L 3.5 4 L 7 0 Z"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=ArrowBrush}}">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=ArrowBrush}}"
                                Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=LineUpArrow}" RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M 0 4 L 7 4 L 3.5 0 Z"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=ArrowBrush}}">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=ArrowBrush}}"
                                Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=HorizontalLines}" RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Geometry="M 2 0 L 10 0"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=HVLinesBrush}}">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=HVLinesBrush}}"
                                Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M 2 2 L 10 2"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=HVLinesBrush}}">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=HVLinesBrush}}"
                                Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M 2 4 L 10 4"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=HVLinesBrush}}">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=HVLinesBrush}}"
                                Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M 2 6 L 10 6"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=HVLinesBrush}}">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=HVLinesBrush}}"
                                Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=VerticalLines}" RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Geometry="M 0 2 L 0 10"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=HVLinesBrush}}">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=HVLinesBrush}}"
                                Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M 2 2 L 2 10"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=HVLinesBrush}}">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=HVLinesBrush}}"
                                Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M 4 2 L 4 10"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=HVLinesBrush}}">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=HVLinesBrush}}"
                                Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M 6 2 L 6 10"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=HVLinesBrush}}">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=HVLinesBrush}}"
                                Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
            </DrawingGroup>

        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=LineLeftArrow}" 
                  RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M 0 4 L 4 8 L 4 0 Z"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=ArrowBrush}}">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=ArrowBrush}}"
                                Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=LineRightArrow}" 
                  RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M 0 0 L 0 8 L 4 4 Z"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=ArrowBrush}}">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=ArrowBrush}}"
                                Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager},ResourceId=DownArrowImage}" RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M4,0 L 2,2 L0,0 Z"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DefaultForegroundBrush}}">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DefaultForegroundBrush}}"
                             Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager},ResourceId=DisabledDownArrowImage}" 
                  RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M4,0 L 2,2 L0,0 Z"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=LightGrayBrush}}">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=LightGrayBrush}}"
                                Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=UpArrowImage}" 
                  RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M4,2 L 2,0 L0,2 Z"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DefaultForegroundBrush}}">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DefaultForegroundBrush}}"
                                Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DisabledUpArrowImage}" RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M4,2 L 2,0 L0,2 Z"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=LightGrayBrush}}">
                <GeometryDrawing.Pen>
                    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=LightGrayBrush}}"
                                Thickness="1" />
                </GeometryDrawing.Pen>
            </GeometryDrawing>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=QAToolBarMenuArrow}" 
                  RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Geometry="M0,0 L8,0">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly=skin:OfficeBlueSkinManager, ResourceId=DefaultForegroundBrush}}" Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M1,3 L 7,3 L 4,7 L 1,3"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly=skin:OfficeBlueSkinManager, ResourceId=DefaultForegroundBrush}}">
                    <GeometryDrawing.Pen>
                        <Pen Thickness="0" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DisabledQAToolBarMenuArrow}" 
                  RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Geometry="M0,0 L8,0">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly=skin:OfficeBlueSkinManager, ResourceId=LightGrayBrush}}" Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M1,3 L 7,3 L 4,7 L 1,3"
                        Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly=skin:OfficeBlueSkinManager, ResourceId=LightGrayBrush}}">
                    <GeometryDrawing.Pen>
                        <Pen Thickness="0" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

    <!--{ComponentResourceKey TypeInTargetAssembly=skin:SkinManager, ResourceId=ExpanderImage_Down}-->
    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=ExpanderImageBrush}" 
                     Color="#FF646464"/>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DisabledExpanderImageBrush}" Color="#FFD3D3D3"/>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=ExpanderImage_Down}" >
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=ExpanderImageBrush}}" Geometry="M1,1 L2.5,0.5 L5.5,3.5 L8.5,0.5 L10,1 L10.5,2.5 L5.5,7.5 L0.5,2.5Z">
                <GeometryDrawing.Pen>
                    <Pen Thickness="0.8" Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=ExpanderImageBrush}}"/>
                </GeometryDrawing.Pen>
            </GeometryDrawing>
            <!--#FF353232-->
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DisabledExpanderImage_Down}" >
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DisabledExpanderImageBrush}}" Geometry="M1,1 L2.5,0.5 L5.5,3.5 L8.5,0.5 L10,1 L10.5,2.5 L5.5,7.5 L0.5,2.5Z">
                <GeometryDrawing.Pen>
                    <Pen Thickness="0.8" Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DisabledExpanderImageBrush}}"/>
                </GeometryDrawing.Pen>
            </GeometryDrawing>
            <!--#FF353232-->
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=ExpanderImage_Up}" >
        <DrawingImage.Drawing>
            <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=ExpanderImageBrush}}" Geometry="M1,7 L0.5,5.5 L5.5,0.5 L10.5,5.5 L10,7 L8.5,7.5 L5.5,4.5 L2.5,7.5Z">
                <GeometryDrawing.Pen>
                    <Pen Thickness="0.8" Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=ExpanderImageBrush}}"/>
                </GeometryDrawing.Pen>
            </GeometryDrawing>
            <!--#FF353232-->
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=ThumbImage}"
            RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Geometry="M0,0 L2,0 L2,2 L0,2z" 
                                 Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=SelectedBorderBrush}}"/>
                <GeometryDrawing Geometry="M5,0 L7,0 L7,2 L5,2z" 
                                 Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=SelectedBorderBrush}}"/>
                <GeometryDrawing Geometry="M10,0 L12,0 L12,2 L10,2" 
                                 Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=SelectedBorderBrush}}"/>
                <GeometryDrawing Geometry="M15,0 L17,0 L17,2 L15,2z" 
                                 Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=SelectedBorderBrush}}"/>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>
    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DisabledExpanderImage_Up}" >
        <DrawingImage.Drawing>
            <GeometryDrawing Geometry="M1,7 L0.5,5.5 L5.5,0.5 L10.5,5.5 L10,7 L8.5,7.5 L5.5,4.5 L2.5,7.5Z">
                <GeometryDrawing.Pen>
                    <Pen Thickness="0.8" Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DisabledExpanderImageBrush}}"/>
                </GeometryDrawing.Pen>
            </GeometryDrawing>

        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=WindowRestoreImage}">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Brush="#FFF0F3F5" 
                                 Geometry="F1 M 4.25937,0.5L 11.5894,0.5L 11.5894,7.16L 4.25937,7.16L 4.25937,0.5 Z ">
                    <GeometryDrawing.Pen>
                        <Pen MiterLimit="2.75" 
                             Brush="#FF646464"/>
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Brush="#FFF0F3F5" 
                                 Geometry="F1 M 5.95771,3.19458L 10.041,3.19458L 10.041,5.77792L 5.95771,5.77792L 5.95771,3.19458 Z ">
                    <GeometryDrawing.Pen>
                        <Pen Thickness="0.5" MiterLimit="2.75" Brush="#FF646464"/>
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Brush="#FFF0F3F5" Geometry="F1 M 0.5,3.37604L 7.83,3.37604L 7.83,10.036L 0.5,10.036L 0.5,3.37604 Z ">
                    <GeometryDrawing.Pen>
                        <Pen MiterLimit="2.75" Brush="#FF646464"/>
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Brush="#FFF0F3F5" Geometry="F1 M 2.19833,6.07062L 6.28167,6.07062L 6.28167,8.65396L 2.19833,8.65396L 2.19833,6.07062 Z ">
                    <GeometryDrawing.Pen>
                        <Pen Thickness="0.5" MiterLimit="2.75" Brush="#FF646464"/>
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

    <LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=GripResizeImageBrush}" StartPoint="0,-1" EndPoint="1.8,-0.25">
        <GradientStop Color="Gray" Offset="0.5" />
        <GradientStop Color="White" Offset="0.5" />
    </LinearGradientBrush>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=GripResizeImage}"
            RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Geometry="M12,0 L14,0 L14,2 L12,2z">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=GripResizeImageBrush}}" Thickness="0.8" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M12,5 L14,5 L14,7 L12,7z">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=GripResizeImageBrush}}" Thickness="0.8" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M12,10 L14,10 L14,12 L12,12z">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=GripResizeImageBrush}}" Thickness="0.8" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M7,5 L9,5 L9,7 L7,7z">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=GripResizeImageBrush}}" Thickness="0.8" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M7,10 L9,10 L9,12 L7,12z">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=GripResizeImageBrush}}" Thickness="0.8" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M2,10 L4,10 L4,12 L2,12z">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=GripResizeImageBrush}}" Thickness="0.8" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=QADownArrowImage}"
        RenderOptions.BitmapScalingMode="HighQuality">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Geometry="M0,0 L8,0">
                    <GeometryDrawing.Pen>
                        <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=BlackBrush}}"
                             Thickness="1" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M0,4 L 8,4 L 4,7z"
                                 Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=BlackBrush}}">
                    <GeometryDrawing.Pen>
                        <Pen Thickness="0" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=TwoRightArrowedImage}">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Geometry="M0,0 L 3,2 L0,4z"
                                 Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=BlackBrush}}">
                    <GeometryDrawing.Pen>
                        <Pen Thickness="0" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
                <GeometryDrawing Geometry="M4,0 L 7,2 L4,4z"
                                 Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=BlackBrush}}">
                    <GeometryDrawing.Pen>
                        <Pen Thickness="0" />
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>


    <!--================================Essential resources for window buttons==============================================-->
    <Pen Thickness="2.15" 
         StartLineCap="Flat" 
         EndLineCap="Flat" 
         Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DefaultImageBrush}}"
         x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DefaultPen}"/>

    <Pen Thickness="2.15" 
         StartLineCap="Flat" 
         EndLineCap="Flat" 
         Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DecoratorBrush}}"
         x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=MouseOverStatePen}"/>

    <Pen Thickness="2.15" 
         StartLineCap="Flat" 
         EndLineCap="Flat" 
         Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=CaptionButtonPressedStateBrush}}"
         x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=PressedStatePen}"/>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=NormalStateImage}">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DefaultImageBrush}}" 
                                 Geometry="M0,0 L9,9"
                                 Pen="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DefaultPen}}"/>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DefaultImageBrush}}" 
                                 Geometry="M9,0 L0,9"
                                 Pen="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DefaultPen}}"/>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=MouseOverStateImage}">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DecoratorBrush}}" 
                                 Geometry="M0,0 L9,9"
                                 Pen="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=MouseOverStatePen}}"/>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DecoratorBrush}}" 
                                 Geometry="M9,0 L0,9"
                                 Pen="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=MouseOverStatePen}}"/>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=PressedStateImage}">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=CaptionButtonPressedStateBrush}}" 
                                 Geometry="M0,0 L9,9"
                                 Pen="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=PressedStatePen}}"/>
                <GeometryDrawing Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=CaptionButtonPressedStateBrush}}" 
                                 Geometry="M9,0 L0,9"
                                 Pen="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=PressedStatePen}}"/>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>


    <ControlTemplate x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DefaulThumbTemplate}" TargetType="{x:Type Thumb}">
        <Border HorizontalAlignment="Stretch"
                VerticalAlignment="Stretch"
                Background="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=WhiteBrush}}">
            <Image HorizontalAlignment="Center" 
                   VerticalAlignment="Center" 
                   Source="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=ThumbImage}}"
                   Stretch="None"
                   Margin="0,0,0,2"/>
        </Border>
    </ControlTemplate>
    <Style x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DefaulThumbStyle}" TargetType="{x:Type Thumb}">
        <Setter Property="SnapsToDevicePixels" Value="True"/>
        <Setter Property="Cursor" Value="SizeNS"/>
        <Setter Property="Template" Value="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=DefaulThumbTemplate}}"/>
    </Style>


    <SolidColorBrush Color="#FF555555" x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=LightBlackBrush}" />

    <Pen Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=LightBlackBrush}}" 
         Thickness="0.8" 
         x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=_Pen1}"/>

    <DrawingImage x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=RibbonBarOptionsButtonImage}" RenderOptions.BitmapScalingMode="Linear">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing  Geometry="M0,0 L12,0 L12,10 L0,10z" 
                                  Pen="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=_Pen1}}"/>
                <GeometryDrawing  Geometry="M0,2.5 L12,2.5" 
                                  Pen="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=_Pen1}}"/>
                <GeometryDrawing  Geometry="M4,5 L6,2.5 L8,5 L6,3.7z" 
                                  Brush="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=LightBlackBrush}}" 
                                  Pen="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=_Pen1}}"/>
                <GeometryDrawing  Geometry="M6,2.5 L6,10" 
                                  Pen="{StaticResource ResourceKey={ComponentResourceKey TypeInTargetAssembly={x:Type skin:OfficeBlueSkinManager}, ResourceId=_Pen1}}"/>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

</ResourceDictionary>